Skip to content

Guard repeated graph-memory LLM failures#43

Open
junyangyan4-svg wants to merge 1 commit intoadoresever:mainfrom
junyangyan4-svg:codex/llm-failure-guard
Open

Guard repeated graph-memory LLM failures#43
junyangyan4-svg wants to merge 1 commit intoadoresever:mainfrom
junyangyan4-svg:codex/llm-failure-guard

Conversation

@junyangyan4-svg
Copy link
Copy Markdown

Summary

  • add LlmFailureGuard for permanent graph-memory LLM API failures
  • pause repeated calls after permanent 4xx responses such as 403/404/422
  • reset the guard immediately after a successful LLM call

Why

This turns a runaway failure mode into a bounded cooldown when the configured memory LLM is misconfigured or unavailable.

Split from #39.

Verification

  • npm test
  • npx tsc --noEmit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant